package com.itheima.stock.api;

import com.itheima.stock.entity.StockBusiness;
import com.itheima.stock.response.ResponseResult;
import com.itheima.stock.vo.BlockRtVO;
import com.itheima.stock.vo.ExternalMarketIndexVO;
import com.itheima.stock.vo.MarketIndexVO;
import com.itheima.stock.vo.StockUpdownVO;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * @author zby
 * @created 2024-06-23 16:29
 * @description
 */
@RequestMapping(path = "/api/quot")
public interface StockControllerAPI {


    @GetMapping(path = "/stock/business/all")
    ResponseResult<List<StockBusiness>> getStockBusiness();

    @GetMapping("/index/all")
    public ResponseResult<List<MarketIndexVO>> innerIndexAll();

    @GetMapping("/sector/all")
    public ResponseResult<List<BlockRtVO>> innerRtAll();

    @GetMapping("/external/index")
    public ResponseResult<List<ExternalMarketIndexVO>> externalIndexAll();


    @GetMapping("stock/increase")
    public ResponseResult<List<StockUpdownVO>> stockIncreaseLimit();





}